Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Yul Rust Bindings #993

Closed
wants to merge 13 commits into from
Closed

Yul Rust Bindings #993

wants to merge 13 commits into from

Conversation

ControlCplusControlV
Copy link

This is a draft so a lot is still left undone, and I only have a single test to show for it. Got some help from 0xKitsune on this one though.

It's not too many changes, just a lot of redundant functions. I considered making language a forced parameter of every compiler object but the downstream horror and added arg seemed like it would be too much.

Still need linting but wanted your overall thoughts @gakonst now that new bindings are in a working state

ControlCplusControlV and others added 11 commits March 4, 2022 19:09
…uct parameters. Some struct parameters missing.
…riable, it was looking for the Foo contract but the contract was named SimpleStorage. I changed the contract name to Foo and it works now. I added logic to get the bytecode from the compiled yul contract, convert it to a hex string and print it out in the terminal as a str to check the output. Also added some assert!() checks.
@ControlCplusControlV ControlCplusControlV marked this pull request as draft March 7, 2022 05:56
@gakonst
Copy link
Owner

gakonst commented Mar 7, 2022

@ControlCplusControlV have you looked at #994? It seems like the same is achieved with a simpler path, so maybe we should consolidate the work?

@ControlCplusControlV
Copy link
Author

@gakonst yeah, reading through it now but looks much simpler. I added a comment over there

@gakonst
Copy link
Owner

gakonst commented Mar 7, 2022

Closing as we consolidate on 994!

@gakonst gakonst closed this Mar 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants